package com.tengroup.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.tengroup.entity.WrongQuestionEntity;
import java.util.List;

public interface WrongQuestionService extends IService<WrongQuestionEntity> {
    /**
     * 根据难易程度和科目生成训练题
     *
     * @param difficulty 难易程度
     * @param courseId   科目ID
     * @return 符合条件的错题列表
     */
    List<WrongQuestionEntity> generateTrainingPaper(String difficulty, Integer courseId);
}